Skip to content

fix[mono]: update cors config#1111

Merged
genedna merged 1 commit into
gitmono-dev:mainfrom
benjamin-747:main
Jun 11, 2025
Merged

fix[mono]: update cors config#1111
genedna merged 1 commit into
gitmono-dev:mainfrom
benjamin-747:main

Conversation

@benjamin-747

Copy link
Copy Markdown
Collaborator

No description provided.

@vercel

vercel Bot commented Jun 11, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mega ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 11, 2025 9:43am

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the CORS configuration in the HTTPS server for the mono service. The changes include removing the dependency on a UI domain value from the configuration and configuring the CORS middleware to allow any origin instead.

  • Removed the use of a custom cors_origin derived from the configuration.
  • Updated the CorsLayer configuration to use allow_origin(Any) directly.
Comments suppressed due to low confidence (1)

mono/src/server/https_server.rs:117

  • Using allow_origin with Any will allow requests from all origins. Please confirm that this change is intentional and meets your security requirements.
.allow_origin(Any)

@genedna
genedna enabled auto-merge June 11, 2025 10:01
@genedna
genedna added this pull request to the merge queue Jun 11, 2025
Merged via the queue into gitmono-dev:main with commit 46212c7 Jun 11, 2025
9 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants